<?php
declare (strict_types = 1);

namespace app\provider;


class RedisProvider extends \think\Service
{
    /**
     * 注册服务
     *
     * @return mixed
     */
    public function register()
    {
    	//
        $this->app->bind("redisService", \app\RedisService::class);
    }

    /**
     * 执行服务
     *
     * @return mixed
     */
    public function boot()
    {
        //
        /*初始化 redis 连接*/
        \app\service\RedisService::initClient();
    }
}
